// ==UserScript==
// @name         禁止复制问题
// @namespace    http://tampermonkey.net/
// @version      2024-01-19
// @description  破解各种禁止复制问题
// @author       zyl
// @match        https://www.tampermonkey.net/scripts.php
// @icon         https://www.google.com/s2/favicons?sz=64&domain=tampermonkey.net
// @include      https://blog.51cto.com/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    document.body.oncopy=null; //去掉当前设置的复制监听
    document.body.__defineSetter__("oncopy",function(){}); //禁止修改复制监听
})();